<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\modules\Order\models\Leader */

$this->title = '修改领队';
$this->params['breadcrumbs'][] = ['label' => 'Leaders', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="leader-update">

    <h2 class="page-header"><?= Html::encode($this->title) ?>
        <p class="pull-right">
        <?= Html::a(Yii::t('app', 'Index'), ['index'], ['class' => 'btn btn-danger']) ?>
        <!-- ?= Html::a(Yii::t('app', 'Trip'), ['trip', 'id' => $model->id], ['class' => 'btn btn-warning']) ? -->
        </p>
    </h2>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
